package com.adapter.classadpter;

/**
 * @author 薛虎
 * @date 2021/1/7 13:05
 * 被适配的类
 */
public class Voltage220V {

    public int output220V() {
        int src = 220;
        System.out.println("电压=" + src + "伏");
        return src;
    }
}
